package com.kiven.file;

import java.io.*;

public class FileRead {
	public static void main(String[] args) throws Exception {
		File file = new File("/home/liqingwen/test.txt");
		FileInputStream fis = new FileInputStream(file);
		Reader reader = new InputStreamReader(fis);
		BufferedReader br = new BufferedReader(reader);
		String str;
		
		while(br.readLine()!= null) {
			System.out.println(br.readLine());
		}
	}
}
